home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / tchk21.arc / INCLUDE.ARC / STATEHK.H < prev    next >
C/C++ Source or Header  |  1989-06-20  |  758b  |  18 lines

  1. /* TCHK 2.1 - Howard Kapustein's Turbo C library        6-6-89      */
  2. /* Copyright (C) 1988,1989 Howard Kapustein.  All rights reserved.  */
  3.  
  4. /* statehk.h  -  state/zip code functions header file */
  5.  
  6. #ifndef STATE_HEADER
  7. #define STATE_HEADER    1
  8.  
  9. #define MAXSTATES   55      /* 50 states + CZ (Canal Zone), DC (District of Columbia), */
  10.                             /*             GU (Guam), PR (Puerto Rico), VI (Virgin Islands) */
  11.  
  12. /* function prototypes */
  13. boolean isstate(char *state);               /* is state a state abbreviation */
  14. int stateindex(char *state);                /* get index of States array for state */
  15. boolean iszip(char *state, char *zip);      /* is zip a valid Zip Code */
  16.  
  17. #endif              /* STATE_HEADER */
  18.